package com.example.note.dao;


import com.axdac.mixbind.sql.db.Entity;
import com.axdac.mixbind.sql.db.SQL;
import com.example.note.util.MyApplication;

import java.util.List;

public interface NoteTagDAO {
    @SQL("select * from T_NOTE_TAG;")
    @Entity(MyApplication.entityDir+".TNoteTag")
    public List<Object> queryAll();

    @SQL("insert into T_NOTE_TAG (noteTag) values(@1);")
    public boolean insert(String noteTag);
}
